import axios from 'axios'
export const BuildProgressService = class BuildProgressService {
    static buildProgressService = null

    static getInstance() {
        if (this.buildProgressService == null) {
            this.buildProgressService = new BuildProgressService()
        }
        return this.buildProgressService
    }


    save(BuildProgressPlan){  //提交施工进度
        return axios.post('http://localhost/buildprogressplan',BuildProgressPlan)
    }
    list(params){
        return axios.get("http://localhost/buildprogressplan",{params});
    }

}